using Net35.Xrm.Sdk.Metadata;
using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class CreateOptionSetRequest : OrganizationRequest
	{
		public OptionSetMetadataBase OptionSet
		{
			get
			{
				if (base.Parameters.Contains("OptionSet"))
				{
					return (OptionSetMetadataBase)base.Parameters["OptionSet"];
				}
				return null;
			}
			set
			{
				base.Parameters["OptionSet"] = value;
			}
		}
		public string SolutionUniqueName
		{
			get
			{
				if (base.Parameters.Contains("SolutionUniqueName"))
				{
					return (string)base.Parameters["SolutionUniqueName"];
				}
				return null;
			}
			set
			{
				base.Parameters["SolutionUniqueName"] = value;
			}
		}
		public CreateOptionSetRequest()
		{
			base.RequestName = "CreateOptionSet";
			this.OptionSet = null;
		}
	}
}
